package com.ttai.dagger.module.activity;

import com.ttai.presenter.activity.IdItemPresenter;
import com.ttai.ui.activity.IdItem;

import dagger.Module;
import dagger.Provides;

@Module
public class IdItemPresenterModule {
    IdItem idItem;

    public IdItemPresenterModule(IdItem idItem) {
        this.idItem = idItem;
    }
    @Provides
    IdItemPresenter provideIdItemPresenter(){
        return new IdItemPresenter(idItem);
    }
}
